package com.wzq.upms.controller;

import java.util.HashMap;
import java.util.Map;

import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;
import org.springframework.web.bind.annotation.RestController;

import com.wzq.framework.mvc.AbstractApiController;
import com.wzq.upms.annotation.Auth;

/**  
 * 监控控制器   
 * @ClassName: MonitorController    
 * @author 陈剑飞    
 * @date 2016年5月5日 上午10:45:41    
 * @version  v 1.0    
 */
@RestController
public class MonitorController extends AbstractApiController{
    /**
     * 监控url
     * @author 陈剑飞    
     * @Title: monitor    
     * @return 
     * @Return: ApiResponse 返回值
     */
    @RequestMapping("/monitor")
    @ResponseBody
    @Auth(verifyLogin=false,verifyURL=false)
    public Map<String,Object> monitor(){
        Map<String, Object> result = new HashMap<String, Object>();
        result.put("code", "200");
        result.put("desc", "ok");
        return result;
    }
}
